package com.ruoyi.management.carservicestatics.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆营运数据采集对象 t_car_service_collect
 * 
 * @author ruoyi
 * @date 2021-12-10
 */
public class TCarServiceCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 上车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 下车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 上车经纬度信息 */
    @Excel(name = "上车经纬度信息")
    private String startLocation;

    /** 下车经纬度信息 */
    @Excel(name = "下车经纬度信息")
    private String endLocation;

    /** 上车位置信息 */
    @Excel(name = "上车位置信息")
    private String startSite;

    /** 下车位置信息 */
    @Excel(name = "下车位置信息")
    private String endSite;

    /** 营运里程 */
    @Excel(name = "营运里程")
    private Double mileage;

    /** 计价器显示的金额信息，单位：元 */
    @Excel(name = "计价器显示的金额信息，单位：元")
    private Double amount;

    /** 车辆轨迹信息 */
    @Excel(name = "车辆轨迹信息")
    private String trajectory;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNo;

    /** 当前驾驶员从业资格证号 */
    @Excel(name = "当前驾驶员从业资格证号")
    private String certificateNo;

    /** $column.columnComment */
    @Excel(name = "当前驾驶员从业资格证号")
    private String platformId;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectTime;

    /** 是否数据同步，0-否；1-是。 */
    @Excel(name = "是否数据同步，0-否；1-是。")
    private String isSync;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStartLocation(String startLocation) 
    {
        this.startLocation = startLocation;
    }

    public String getStartLocation() 
    {
        return startLocation;
    }
    public void setEndLocation(String endLocation) 
    {
        this.endLocation = endLocation;
    }

    public String getEndLocation() 
    {
        return endLocation;
    }
    public void setStartSite(String startSite) 
    {
        this.startSite = startSite;
    }

    public String getStartSite() 
    {
        return startSite;
    }
    public void setEndSite(String endSite) 
    {
        this.endSite = endSite;
    }

    public String getEndSite() 
    {
        return endSite;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public void setTrajectory(String trajectory)
    {
        this.trajectory = trajectory;
    }

    public String getTrajectory() 
    {
        return trajectory;
    }
    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }
    public void setCertificateNo(String certificateNo) 
    {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() 
    {
        return certificateNo;
    }
    public void setPlatformId(String platformId) 
    {
        this.platformId = platformId;
    }

    public String getPlatformId() 
    {
        return platformId;
    }
    public void setCollectTime(Date collectTime) 
    {
        this.collectTime = collectTime;
    }

    public Date getCollectTime() 
    {
        return collectTime;
    }
    public void setIsSync(String isSync) 
    {
        this.isSync = isSync;
    }

    public String getIsSync() 
    {
        return isSync;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("startLocation", getStartLocation())
            .append("endLocation", getEndLocation())
            .append("startSite", getStartSite())
            .append("endSite", getEndSite())
            .append("mileage", getMileage())
            .append("amount", getAmount())
            .append("trajectory", getTrajectory())
            .append("carNo", getCarNo())
            .append("certificateNo", getCertificateNo())
            .append("platformId", getPlatformId())
            .append("collectTime", getCollectTime())
            .append("isSync", getIsSync())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
